Unit\Connectors\ConnectionPoolTest S

Total Complexity 19
Dependencies 3
Dependents 0
Total lines 217
Lines of code 157
Logical lines of code 105
Comment lines 1
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
testIteratorFunctionality()
S
55 2 20
createValidConnection()
S
57 1 17
testHasNextWithMultipleItems()
S
63 1 11
testOffsetSetWithValidConnector()
S
68 1 7
testOffsetSetWithNullKey()
S
68 1 7
testOverriding()
S
67 1 8
testOffsetSetWithStringKey()
S
68 1 7
testOffsetSetWithNonConnection()
S
73 1 5
testOffsetSetWithInvalidConnection()
S
73 1 5
testOffsetSetPreventsDuplicateIds()
S
64 1 10
testOffsetSetWithDifferentIds()
S
64 1 10
testKeyReturnsValidInteger()
S
70 1 6
testHasNextWithSingleItem()
S
69 1 7
testHasNextWithEmptyPool()
S
76 1 4
testCountFunctionality()
S
64 1 10
testArrayAccessFunctionalityWithExplicitKey()
S
68 1 7
testArrayAccessFunctionalityWithImplicitKey()
S
64 1 10
createInvalidConnection()
S
71 1 6